package graduation.claf.service.ifs;

import graduation.claf.pojo.Book;
import graduation.claf.utils.ServerResponse;
import org.springframework.stereotype.Service;

public interface IBookService {

    //查找用户所在的账本
    public ServerResponse SearchByUser(String userId);

    //添加新的账本
    public ServerResponse AddBook(Book book,String creatorId);

    public ServerResponse inviteMember(String sendId,String memberName,String bookId);
}
